package com.cloud.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.system.entity.ProjectAnnex;

import java.util.List;

/**
 * 系统附件
 *
 * @author yzj
 * @since 2022-11-30
 */
public interface ISysProjectAnnexService extends IService<ProjectAnnex> {

    /**
     * 系统附件分页
     *
     * @author yzj
     */
    public List<ProjectAnnex> selectSysProjectAnnexList(ProjectAnnex projectAnnex);

    /**
     * 系统附件新增
     *
     * @author yzj
     */
    public int insertObject(ProjectAnnex projectAnnex);

    /**
     * 系统附件修改
     *
     * @author yzj
     */
    public int updateObject(ProjectAnnex projectAnnex);

    /**
     * 根据应用项目查询配置列表
     *
     * @param isApply
     * @return
     */
    public List<ProjectAnnex> selectApplyProjectAnnex(Integer isApply);

    /**
     * 根据主键查询附件对象
     *
     * @param annexId
     * @return
     */
    public ProjectAnnex selectAnnexInfo(Long annexId);

}
